to be missed in some environments. This patch adds a sleep (with the same
amount of time of the one after xm block-detach) between attach and
detach operations, giving attach enough time to complete, making test 06
suceed.
Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com>
if not checkXmLongList(domain):
FAIL("xm long list does not show that hda1 was attached")
+time.sleep(2)
+
s, o = traceCommand("xm block-detach %s hda1" % domain.getName())
if s != 0:
FAIL("block-detach failed")